//
//  GVMessageVideoView.m
//  GmallVIP
//
//  Created by yemeihua on 15/9/11.
//  Copyright (c) 2015年 yemeihua. All rights reserved.
//

#import "GVMessageVideoView.h"

@implementation GVMessageVideoView

- (instancetype)initWithFrame:(CGRect)frame
{
    if(self = [super initWithFrame:frame])
    {
        self.userInteractionEnabled = YES;
        
        _playImageView = [[UIImageView alloc] init];
        _playImageView.image = [UIImage imageNamed:@"video_play"];
        _playImageView.userInteractionEnabled = YES;
        [self addSubview:_playImageView];
        
        [_playImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            //make.size.equalTo([NSValue valueWithCGSize:CGSizeMake(32.0, 32.0)]);
            make.center.equalTo(self);
        }];
    }
    return self;
}

@end
